package com.hyt.it.ogt.kq.service.govData.service.kz.impl;

import com.hyt.core.base.BaseServiceImpl;
import com.hyt.it.ogt.kq.service.govData.mapper.kz.ExamMapper;
import com.hyt.it.ogt.kq.service.govData.model.entity.kz.Exam;
import com.hyt.it.ogt.kq.service.govData.service.kz.IExamService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 考试服务实现类
 * </p>
 *
 * @author 刘恒活
 * @since 2020-05-15
 */

@Service
public class ExamServiceImpl extends BaseServiceImpl<ExamMapper, Exam> implements IExamService {

    /**
     * 通过taskid来查询
     * @param taskId
     * @return
     */
    @Override
    public List<Exam> getByTaskId(String taskId){
        return baseMapper.getByTaskId(taskId);
    }
}
